﻿// --------------------------------------------------------------------------------------------------------------------- 
// <copyright file="TfsEventArgs.cs" company="Scrum for Team System">
//   None
// </copyright>
// <summary>
//   Defines the TSEventArgs type.
// </summary>
// ---------------------------------------------------------------------------------------------------------------------
namespace ScrumForTeamSystem.EventService.Infrastructure
{
    using System;

    using Interfaces;

    /// <summary>
    /// Defines the TfsEventArgs type.
    /// </summary>
    public class TfsEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="TfsEventArgs"/> class.
        /// </summary>
        /// <param name="eventInstance">
        /// The tfs event.
        /// </param>
        public TfsEventArgs(ITfsEvent eventInstance)
        {
            this.EventInstance = eventInstance;
        }

        /// <summary>
        /// Gets or sets the event instance.
        /// </summary>
        /// <value>The event instance.</value>
        public ITfsEvent EventInstance
        {
            get;
            set;
        }
    }
}